package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_follow;

import cn.com.api.mapper.ApiU_followMapper;

import cn.com.api.service.ApiU_followService;

/**
 * 
 **/
@Service
public class U_followServiceImplBase {
	@Autowired
	private ApiU_followMapper apiU_followMapper;
    
    // 根据id获取
	public ApiU_follow findU_followById(Integer id){
		ApiU_follow u_follow = apiU_followMapper.findU_followById( id );
		return u_follow;
	}
    
    //查看数据集
	public List<ApiU_follow> findU_follows(){
        List<ApiU_follow> u_follows = apiU_followMapper.findU_follows();
		return u_follows;
    }
    
	// 添加
	public int insertU_follow(ApiU_follow u_follow){
		int ret_I= apiU_followMapper.insertU_follow(u_follow);
		return ret_I;
	}

	// 修改
	public int updateU_follow(ApiU_follow u_follow){
		int ret_I= apiU_followMapper.updateU_follow(u_follow);
		return ret_I;
	}
	
    // 删除
	public int deleteU_follow(Integer id){
		int ret_I= apiU_followMapper.deleteU_follow( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


